{$define UNIGUI_VCL} // Comment out this line to turn this project into an ISAPI module

{$ifndef UNIGUI_VCL}
library
{$else}
program
{$endif}
  wiUniGUI;

uses
  uniGUIISAPI,
  Forms,
  libBasic_CustomD in '..\BASE\DM\libBasic_CustomD.pas' {dmBasic_Custom: TDataModule},
  libMaintenance_CustomD in '..\BASE\DM\libMaintenance_CustomD.pas' {dmMaintenance_Custom: TDataModule},
  libEntry_CustomD in '..\BASE\DM\libEntry_CustomD.pas' {dmEntry_Custom: TDataModule},
  MainA in 'MainA.pas',
  libBasic_CustomA in '..\BASE\FR\libBasic_CustomA.pas' {frBasic_Custom: TUniFrame},
  Main in 'Main.pas' {MainForm: TUniForm},
  MainModule in 'MainModule.pas' {UniMainModule: TUniGUIMainModule},
  ServerModule in 'ServerModule.pas' {UniServerModule: TUniGUIServerModule},
  libParamsU in '..\BASE\Unit\libParamsU.pas',
  libSysFunctionU in '..\BASE\Unit\libSysFunctionU.pas',
  libTypesU in '..\BASE\Unit\libTypesU.pas',
  libPublicImportDllU in '..\DLL\libPublicImportDllU.pas',
  libPublicInterfaceU in '..\DLL\libPublicInterfaceU.pas',
  libFunctionListU in '..\BASE\Unit\libFunctionListU.pas',
  libMaintenance_CustomA in '..\BASE\FR\libMaintenance_CustomA.pas' {frEditView_Custom: TUniFrame},
  libFunction_CustomA in '..\BASE\FR\libFunction_CustomA.pas' {frFunction_Custom: TUniFrame},
  LoginD in 'LoginD.pas' {dmLogin: TDataModule},
  LoginF in 'LoginF.pas' {frmLogin: TUniLoginForm},
  libTreeViewU in '..\BASE\Unit\libTreeViewU.pas',
  ProcessReportingA in '..\APP\FC\FC_ProcessReporting\FR\ProcessReportingA.pas' {frProcessReporting: TUniFrame},
  ProcessReportingD in '..\APP\FC\FC_ProcessReporting\DM\ProcessReportingD.pas' {dmProcessReporting: TDataModule},
  EapSystemMenuA in '..\APP\EAP\SystemMenu\EapSystemMenuA.pas' {frEapSystemMenu: TUniFrame},
  EapSystemMenuD in '..\APP\EAP\SystemMenu\EapSystemMenuD.pas' {dmEapSystemMenu: TDataModule},
  libListView_CustomA in '..\BASE\FR\libListView_CustomA.pas' {frListView_Custom: TUniFrame},
  Config.DataBase in '..\BASE\Unit\Config.DataBase.pas',
  libBasic_CustomF in '..\BASE\FM\libBasic_CustomF.pas' {fmBasic_Custom: TUniForm},
  libDialog_CustomF in '..\BASE\FM\libDialog_CustomF.pas' {fmDialog_Custom: TUniForm},
  libGetRunningNoF in '..\BASE\FM\libGetRunningNoF.pas' {fmGetRunningNo: TUniForm},
  libGridEdit_CustomA in '..\BASE\FR\libGridEdit_CustomA.pas',
  libTreeEdit_CustomA in '..\BASE\FR\libTreeEdit_CustomA.pas';

{$R *.res}

{$ifndef UNIGUI_VCL}
exports
  GetExtensionVersion,
  HttpExtensionProc,
  TerminateExtension;
{$endif}

begin
{$ifdef UNIGUI_VCL}
  ReportMemoryLeaksOnShutdown := True;
  Application.Initialize;
  TUniServerModule.Create(Application);
  Application.CreateForm(TdmEapSystemMenu, dmEapSystemMenu);
  Application.Run;
{$endif}
end.
